package cn.happyio.demoliteFlow.chain.exec;

import com.yomahub.liteflow.core.FlowExecutor;
import com.yomahub.liteflow.slot.DefaultContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ChainExecService01 {

    @Autowired
    private FlowExecutor flowExecutor;

    public void test() {
        flowExecutor.execute2Resp("chain1", "arg", DefaultContext.class);
    }
}
